module neo.tetris.rpc.messageImpl {
	/**
	 *
	 * @author 
	 *
	 */
	export class UserMessageImpl implements neo.tetris.rpc.message.UserMessage {
		public constructor() {
		}

        /**
         * 登陆接口
         *
         * @param userUuid 
         * @param userName 
         */
        public setLoginedUser(userUuid: string,userName: string, userHeadIcon:string): void {
            var appInstance:neo.tetris.model.App = neo.tetris.model.appInstance;
            var appUser: neo.tetris.model.AppUser = new neo.tetris.model.AppUser();
            appUser.uuid = userUuid;
            appUser.name = userName;
            appUser.icon = userHeadIcon;
            appInstance.logined = appUser;
        }


	}
}
